<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body style="padding: 200px;">
    <form action="/login" method="POST">
        <span style="color: red" th:text="${error}"></span><br/>
        用户名:<input type="text" name="username"/><br/>
        密码:<input type="text" name="password"/><br/>

        <button type="submit">提交</button>
    </form>
</body>
</html>